<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-text-html</title>
    <script src="js/vuejs-2.5.16.js"></script>


</head>
<body>

                <div id="app">

                    v-html:<span v-html="hello"></span>
                    <br/>

                    v-text:<span v-text="hello"></span>
                </div>



              <script>
                  var vm = new Vue({
                      el:"#app",
                      data:{
                          hello: "<h1>大家好，我是刘德华</h1>"
                      }
                  })
              </script>

</body>
</html>